package com.tj.bo.integration.input;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: binary
 * Date: 2020/6/19
 * Time: 下午3:27
 */
public class SingleSmsSendApInput implements Serializable {

    /**
     * userCode
     */
    private String userCode;
    /**
     * 手机号【必填】
     */
    private String phone;
    /**
     * 业务码【必填】
     */
    private String bizCode;
    /**
     * 替换参数 短信验证码 replaceParam.put("VERIFY_CODE","1234")
     */
    private Map<String, String> replaceParam;
    /**
     * 类型 0 正常 1 验证码  默认0
     */
    private Integer type = 0;
    /**
     * 发送时间 不必填  默认即时发送
     */
    private Date sendTime;
    /**
     * appId
     */
    private int appId;
    /**
     * 标题
     * 邮件-用来存放邮件标题,存到ext_info中
     * 短信-传此参数作为附加信息,存到ext_info中
     */
    private String title;

    public String getUserCode() {
        return userCode;
    }

    public SingleSmsSendApInput setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public SingleSmsSendApInput setPhone(String phone) {
        this.phone = phone;
        return this;
    }

    public String getBizCode() {
        return bizCode;
    }

    public SingleSmsSendApInput setBizCode(String bizCode) {
        this.bizCode = bizCode;
        return this;
    }

    public Map<String, String> getReplaceParam() {
        return replaceParam;
    }

    public SingleSmsSendApInput setReplaceParam(Map<String, String> replaceParam) {
        this.replaceParam = replaceParam;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public SingleSmsSendApInput setType(Integer type) {
        this.type = type;
        return this;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public SingleSmsSendApInput setSendTime(Date sendTime) {
        this.sendTime = sendTime;
        return this;
    }

    public int getAppId() {
        return appId;
    }

    public SingleSmsSendApInput setAppId(int appId) {
        this.appId = appId;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public SingleSmsSendApInput setTitle(String title) {
        this.title = title;
        return this;
    }
}
